package application.common.mapping;

import com.jfinal.plugin.activerecord.ActiveRecordPlugin;

import application.common.model.*;

public class _MappingKit {
	public static void mapping(ActiveRecordPlugin arp) {
		arp.addMapping(Config.TABLE_NAME, "id", Config.class);
		arp.addMapping(Camera.TABLE_NAME, "id", Camera.class);
		arp.addMapping(Cabinet.TABLE_NAME, "id", Cabinet.class);
		arp.addMapping(Board.TABLE_NAME, "id", Board.class);
		arp.addMapping(Store.TABLE_NAME, "id", Store.class);
		arp.addMapping(StoreMap.TABLE_NAME, "id", StoreMap.class);
		arp.addMapping(StoreBox.TABLE_NAME, "id", StoreBox.class);
		arp.addMapping(StoreLog.TABLE_NAME, "id", StoreLog.class);
		arp.addMapping(StoreUser.TABLE_NAME, "id", StoreUser.class);
		arp.addMapping(User.TABLE_NAME, "id", User.class);
		arp.addMapping(FaultBox.TABLE_NAME, "id", FaultBox.class);
		arp.addMapping(StoreBoxLog.TABLE_NAME, "id", StoreBoxLog.class);
		arp.addMapping(CameraRecord.TABLE_NAME, "id", CameraRecord.class);
	}
}
